home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWToolbx / Include / SLMacOS.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.7 KB  |  62 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                SLMacOS.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef SLMACOS_H
  11. #define SLMACOS_H
  12.  
  13. #ifdef FW_BUILD_MAC
  14.  
  15. #ifndef FWSTDDEF_H
  16. #include "FWStdDef.h"
  17. #endif
  18.  
  19. //========================================================================================
  20. //    Forward Declarations
  21. //========================================================================================
  22.  
  23. struct FW_SRect;
  24.  
  25. //========================================================================================
  26. //    Global Mac Utility Functions
  27. //========================================================================================
  28.  
  29. // Export or Import functions for CFM-68K [sfu]
  30.  
  31. #if defined(FW_ODFLIB_IMPORT)
  32. #pragma import on
  33. #elif defined(FW_ODFLIB)
  34. #pragma export on
  35. #endif
  36.  
  37. FW_EXTERN_C_BEGIN
  38.  
  39. //----------------------------------------------------------------------------------------
  40. //    Public API
  41. //
  42. GDHandle             SL_API    FW_MacGetMaxIntersectedDevice(WindowPtr windowPtr, FW_SRect& screenRect, FW_PlatformError* error);
  43. FW_PlatformError    SL_API    FW_MacZoomWindow(WindowPtr windowPtr, FW_Boolean zoomIn);
  44.  
  45. //----------------------------------------------------------------------------------------
  46. //    Private API
  47. //
  48. FW_Boolean     SL_API    FW_PrivMacBuildWindowRegions(WindowPtr windowPtr, FW_Boolean build, FW_PlatformError* error);
  49.  
  50. FW_EXTERN_C_END
  51.  
  52. // For CFM-68K [sfu]
  53.  
  54. #if defined(FW_ODFLIB_IMPORT)
  55. #pragma import off
  56. #elif defined(FW_ODFLIB)
  57. #pragma export off
  58. #endif
  59.  
  60. #endif
  61.  
  62. #endif